import sessionStore from "./sessionStore";
let key = 'menu'

export const getMenu = () => sessionStore.get(key)
export const setMenu = (menu) => sessionStore.set(key,menu)
export const delMenu = () => sessionStore.del(key)
export const hasMenu = () => sessionStore.get(key) === '' ? false : true